package com.liu.project.service.impl;

import com.liu.project.dao.ProfessionMapper;
import com.liu.project.pojo.ProfessionalOrientation;
import com.liu.project.service.ProfessionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: project
 * @description:
 * @author: 86187
 * @create: 2022-03-20 15:49
 **/

@Service
public class ProfessionServiceImpl implements ProfessionService {

    @Autowired
    ProfessionMapper professionMapper;
    @Override
    public List<ProfessionalOrientation> getAll() {
        return professionMapper.getAll();
    }

    @Override
    public double getPfvalueByName(String prokey) {
        return professionMapper.getPfvalueByName(prokey);
    }
}
